<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<t:base type="jquery,easyui,tools,DatePicker"></t:base>
<div class="easyui-layout" fit="true">
  <div region="center" style="padding:0px;border:0px">
   <t:datagrid name="vEcpPostorderList" checkbox="true" pagination="true" fitColumns="true" title="V_ECP_POSTORDER" sortName="id" actionUrl="vEcpPostorderController.do?datagrid" idField="id" fit="true" queryMode="group">
   <t:dgCol title="id"  field="id"  hidden="true"  queryMode="group"  width="120"></t:dgCol> 
   <t:dgCol title="编号"  field="poid" query="true" queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="编码"  field="pocode" query="true" queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="商品名称"  field="commodityname" query="true" queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="会员名称"  field="potradername" query="true" queryMode="single"  width="120"></t:dgCol>
   <t:dgCol title="买卖类型"  field="direction" query="true" queryMode="single"  dictionary="DIRECTION"  width="120"></t:dgCol>
   <t:dgCol title="价格类型"  field="pricetype" query="true" queryMode="single"  dictionary="JIAGLX"  width="120"></t:dgCol>
   <t:dgCol title="挂单价格"  field="poprice"  queryMode="group"  width="120"></t:dgCol>
   <t:dgCol title="挂单数量"  field="poquantity"  queryMode="group"  width="120"></t:dgCol>
   <t:dgCol title="剩余数量"  field="remainingqty"  queryMode="group"  width="120"></t:dgCol>
   <t:dgCol title="交易模式"  field="trademodeid" query="true" queryMode="single"  dictionary="TRADEMODE"  width="120"></t:dgCol>
   <t:dgCol title="挂单时间"  field="potime"  formatter="yyyy-MM-dd" query="true" queryMode="group"  width="120"></t:dgCol>
   <t:dgCol title="挂单交易状态"  field="postatus" query="true" queryMode="single"  dictionary="POSTORDERSTATUS"  width="120"></t:dgCol>
   <t:dgCol title="运输方式"  field="transporttype" query="true" queryMode="single"  dictionary="TRANSPORTTYPE"  width="120"></t:dgCol>
   <t:dgCol title="操作" field="opt" width="100"></t:dgCol>
   <t:dgDelOpt title="删除" url="vEcpPostorderController.do?doDel&id={id}" urlclass="ace_button"  urlfont="fa-trash-o"/>
   <t:dgToolBar title="录入" icon="icon-add" url="vEcpPostorderController.do?goAdd" funname="add"></t:dgToolBar>
	<t:dgToolBar title="编辑" icon="icon-edit" url="vEcpPostorderController.do?goUpdate" funname="update"></t:dgToolBar>
   <t:dgToolBar title="批量删除"  icon="icon-remove" url="vEcpPostorderController.do?doBatchDel" funname="deleteALLSelect"></t:dgToolBar>
   <t:dgToolBar title="查看" icon="icon-search" url="vEcpPostorderController.do?goUpdate" funname="detail"></t:dgToolBar>
   <%-- <t:dgToolBar title="导入" icon="icon-put" funname="ImportXls"></t:dgToolBar>
   <t:dgToolBar title="导出" icon="icon-putout" funname="ExportXls"></t:dgToolBar>
   <t:dgToolBar title="模板下载" icon="icon-putout" funname="ExportXlsByT"></t:dgToolBar> --%>
  </t:datagrid>
  </div>
 </div>
 <script type="text/javascript">
 $(document).ready(function(){
 });
 
   
 
//导入
function ImportXls() {
	openuploadwin('Excel导入', 'vEcpPostorderController.do?upload', "vEcpPostorderList");
}

//导出
function ExportXls() {
	JeecgExcelExport("vEcpPostorderController.do?exportXls","vEcpPostorderList");
}

//模板下载
function ExportXlsByT() {
	JeecgExcelExport("vEcpPostorderController.do?exportXlsByT","vEcpPostorderList");
}

 </script>
